package com.sensor.work.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备运行状态
 * @Author: jeecg-boot
 * @Date:   2024-06-07
 * @Version: V1.0
 */
@Data
@TableName("pudong_device_status")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

public class PudongDeviceStatus implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    private java.lang.String id;
	/**创建人*/

    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private java.util.Date createTime;
	/**更新人*/

    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private java.util.Date updateTime;
	/**所属部门*/

    private java.lang.String sysOrgCode;
	/**设备号*/

    private java.lang.String deviceNo;
	/**设备最近上线时间*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date deviceOnlineTime;
	/**设备最近离线时间*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date deviceOfflineTime;
	/**停用次数*/
    private java.lang.Integer offlineSum;

	/**停用时长*/
    private java.lang.String offlineTime;
	/**传输中断次数*/

    private java.lang.Integer transmissionInterruptionTimes;
	/**设备状态*/

    private java.lang.Integer deviceStatus;
}
